/**
 * 
 */
package com.bean;

import java.sql.Date;

/**
 * @author Veer
 *
 */
public class WorkerBean {
public String id, name, jobTitle, address, phone;
Date hireDate;

/**
 * @param name
 * @param jobTitle
 * @param address
 * @param phone
 * @param hireDate
 */
public WorkerBean(String name, String jobTitle, String address, String phone,
		Date hireDate) {
	this.name = name;
	this.jobTitle = jobTitle;
	this.address = address;
	this.phone = phone;
	this.hireDate = hireDate;
}

public String getId() {
	return id;
}

public void setId(String id) {
	this.id = id;
}

public String getName() {
	return name;
}

public void setName(String name) {
	this.name = name;
}

public String getJobTitle() {
	return jobTitle;
}

public void setJobTitle(String jobTitle) {
	this.jobTitle = jobTitle;
}

public String getAddress() {
	return address;
}

public void setAddress(String address) {
	this.address = address;
}

public String getPhone() {
	return phone;
}

public void setPhone(String phone) {
	this.phone = phone;
}

public Date getHireDate() {
	return hireDate;
}

public void setHireDate(Date hireDate) {
	this.hireDate = hireDate;
}

/**
 * @param id
 * @param name
 * @param jobTitle
 * @param address
 * @param phone
 * @param hireDate
 */
public WorkerBean(String id, String name, String jobTitle, String address,
		String phone, Date hireDate) {
	this.id = id;
	this.name = name;
	this.jobTitle = jobTitle;
	this.address = address;
	this.phone = phone;
	this.hireDate = hireDate;
}


}
